home *** CD-ROM | disk | FTP | other *** search
/ Teach Yourself VRML 2 in 21 Days / Teach Yourself VRML 2 in 21 Days.iso / mac / ISO9660 / 3rdparty / POLYTRAN / dos / PT_DOS.ZIP / DOC_1 / IMP_CD3D.1 < prev    next >
Encoding:
Text File  |  1996-06-13  |  2.5 KB  |  61 lines

  1. .so psroff.inc        # Include the macros needed for output to Postscript
  2. .TH Import-CAD3D
  3. .SH NAME
  4. imp_cad3d \- CAD 3D geometry import filter
  5. .SH SYNOPSIS
  6. .PP
  7. This man page describes the options specific to the CAD 3D geometry
  8. import converter.
  9. .PP
  10. .SH EXAMPLE CONVERSION SYNTAX
  11. .PP
  12. To convert a CAD-3D Studio file to Wavefront using the default parameters listed 
  13. in the setup.ini file:
  14. .IP
  15. pt -i cad3d -o wave filename.3d2
  16. .PP
  17. To convert a CAD-3D file to VRML and override some of the default options 
  18. in setup.ini:
  19. .IP
  20. pt -i cad3d -in-cad3d-list-objects = yes -o vrml filename.3d2
  21. .PP
  22. .SH OVERVIEW
  23. .PP
  24. The CAD 3D geometry import converter reads in all objects, lights, 
  25. cameras and color data from a CAD 3D v2.0 binary file. CAD 3D was a 
  26. popular 3D  rendering program for the Atari ST which was written by Tom Hudson 
  27. (of 3D Studio fame).
  28. .PP
  29. .SH COMMAND LINE OPTIONS
  30. .PP
  31. The following options are specific to this import converter:
  32. .TP
  33. -i cad3d
  34. This is the optional command line option which specifies that the input data
  35. is in the CAD 3D file format. If not specified then the converter will try 
  36. to guess the input file's format from its file extension (.3d2) and then from the 
  37. contents of its file. 
  38. .TP
  39. -in-cad3d-verbose = [ yes | no ]
  40. If set to 'yes' then the import converter will print out verbose information 
  41. about the CAD 3D file as it is being parsed.
  42. .TP
  43. -in-cad3d-calcnormals = [ yes | no ]
  44. If set to 'yes' then new vertex normals will be computed for a polygon 
  45. if it does not have any vertex normals already. The smoothing criterion is 
  46. based on the angle between abutting polygons; common smoothed vertex normals 
  47. will be computed if the angle between their geometric surfaces normals is 
  48. less than the '-in-cad3d-smoothing-angle' angle described below. If set to
  49. 'no' then no new vertex normals will be created.
  50. .TP
  51. -in-cad3d-smoothing-angle = #
  52. This option sets the cut-off smoothing angle (in degrees) used by the vertex normal
  53. computation algorithm. If the angle between two abutting polygons is greater
  54. than this number then no smoothing will occur (a crease will be evident
  55. between the two polygons), else smoothing will occur where the polygons
  56. meet. The default angle is 30 degrees.
  57. .TP
  58. -in-cad3d-list-objects = [ yes | no ]
  59. If set to 'yes' then the import converter will print out the names of the 
  60. objects within the CAD 3D file. No data will be loaded in.
  61.